package com.harmontronics.hanma.paas.paas.domain.tenant.repository.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 租户-应用管理员表
 * 
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-03-18 14:17:33
 */
@Data
@TableName("hm_tenant_app_manager")
public class HmTenantAppManagerPO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 管理平台用户ID
	 */
	@TableId
	private Long id;
	/**
	 * 租户ID
	 */
	private Long tenantId;
	/**
	 * 租户应用ID
	 */
	private Long tenantAppId;
	/**
	 * 租户用户ID
	 */
	private Long tenantUserId;
	/**
	 * $column.comments
	 */
	@TableField(fill = FieldFill.INSERT)
	private String createBy;
	/**
	 * $column.comments
	 */
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createDate;

}
